//
//  VSRevealController.h
//  ViewSeer
//
//  Created by LevinYan on 2017/3/21.
//  Copyright © 2017年 LevinYan. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VSNode.h"

@protocol RevealControllerDelegate <NSObject>

- (void)revealControllerDidSelectedNode:(VSNode*)node;
- (void)revealControllerLeftTopButtonClicked;
- (void)revealControllerrightTopButtonClicked;

@end

@interface VSRevealController : UIViewController

@property (nonatomic, strong) VSNode *rootNode;
@property (nonatomic, weak) id<RevealControllerDelegate> delegate;

- (void)setSelectedNode:(VSNode *)selectedNode;

@end
